<%@ page language="java" 
         contentType="text/html; charset=windows-1256"
         pageEncoding="windows-1256"
         import="LoginUtil.User"
         import="java.util.Calendar"
   %>
   
    <%  User currentUser = (User) (session.getAttribute("currentSessionUser")); 
    if(currentUser == null || !(currentUser.getUserType() == User.UserType.Doctor || currentUser.getUserType() == User.UserType.Admin))
 	{
 		response.sendRedirect("login.jsp");
 	}
 	
 	Calendar cal = Calendar.getInstance();
 	int month = cal.get(Calendar.MONTH) + 1;
 	int year = cal.get(Calendar.YEAR);
 %>
 
   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
   "http://www.w3.org/TR/html4/loose.dtd">

   <html>

      <head>
         <meta http-equiv="Content-Type" 
            content="text/html; charset=windows-1256">
         <title>  Welcome - Adventure Time MedSys   </title>
         <link rel="stylesheet" type="text/css" href="style.css" />
      </head>
	
      <body>

         <center>
            <div class="h0"> Welcome Dr. <%= currentUser.getFirstName() + " " + currentUser.getLastName() %> </div>
           Not <%= currentUser.getFirstName()%>? <a href="login.jsp">Log in.</a><br><br></br>
           
          	<div class="header">Income Statement for <%Integer.toString(month); %>/<%Integer.toString(year); %></div>
           
           <br><br>
           <b>Patients Seen: </b> Insert number here<br><br>
           
           <table>
           		<td>
           			<tr><b>Treatments</b></tr>
           			<tr><b>Cost</b></tr>
           		</td>
           		<td>
           			<tr>text</tr>
           		</td>
           		
           </table>
           
           ><br><br>
           
           
           <a href ="doctorMain.jsp">Return</a><br>
           
           
           
         </center>

      </body>
	
   </html>